package com.killer.vo;

/**
 * 边
 */
public class PersonEdge {

    /**
     * 开始编号
     */
    private int source;

    /**
     * 结束标号
     */
    private int target;

    /**
     * 边的长度，
     */
    private double value;

    public PersonEdge(int source, int target) {
        this.source = source;
        this.target = target;
        //固定给1
        this.value = 1;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public int getTarget() {
        return target;
    }

    public void setTarget(int target) {
        this.target = target;
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }


}
